﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;

using System.Web;

/// <summary>
/// Summary description for IThanhVien
/// </summary>
 public interface IThanhVien
{

    DataTable getEmail();
    bool updateQuyen(string email, int quyen);
    bool CheckRegister(string email);
    string Insert(ThanhVien tv);
    bool CheckLogin(string email, string password);
    string PasswordRecovery(string email);
    ThanhVien SelectByEmail(string email);

    bool DeleteEmail(String email);

    string ChangePassword(string email, string oldpass, string newpass);
    string ChangeInfoMember(ThanhVien tv);

    ThanhVien ConvertObjectDataRowToThanhVien(System.Data.DataRow dr);

}



